<div class="yb-sel pos-r">
    <div class="header" ng-transclude ng-click="showOptions()"></div>
    <div class="body" ng-show="showPopup" ng-click="$event.stopPropagation();">
        <ul>
            <li ng-click="selectOption()">
                请选择
            </li>
            <li ng-repeat="item in optionsList track by $index" ng-click="selectOption(item)" ng-class="{'selected': !!item.selected}">
                 <span translate>{{item.name}}</span>
            </li>
        </ul>
    </div>
    <input type="text" id="search-input" ng-show="allowSearch&&showPopup" ng-model="searchVal" ng-change="onSearchChange(searchVal)"
        style="width:90%;border:0;position:absolute;left:9px;top:5px;">
</div>
